<g:if test="${reportList.size() > 0}">
    <meta charset="utf-8">
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="50" rowspan="2">NO.</th>
            <th width="100">机号</th>
            <g:each in="${eqpNumList}" status="i" var="headInstance">
                <th width="210" colspan="3">${headInstance.DESCRIPTION}</th>
            </g:each>
        </tr>
        <tr>
            <th width="70">日期</th>
            <g:each in="${eqpNumList}" status="i" var="headInstance">
                <th width="70">生产数</th>
                <th width="70">合格数</th>
                <th width="70">合格率</th>
            </g:each>
        </tr>
        </thead>
        <tbody>
        <g:each in="${reportList}" status="i" var="dataInstance">
            <tr>
                <td>${i + 1}</td>
                <td>${dataInstance.TRANS_TIME}</td>
                <g:each in="${tableHeadList}" status="j" var="headInstance">
                    <g:if test="${headInstance != 'TRANS_TIME'}">
                        <td>${dataInstance["${headInstance}"]}</td>
                    </g:if>
                </g:each>
            </tr>
        </g:each>
        </tbody>
    </table>
</g:if>